<template>
  <div class="app-container">
    <tinymce @input="input" />
    <div v-html="content"/>
  </div>
</template>

<script>
import Tinymce from '@/components/Tinymce'
export default {
  components: {
    Tinymce
  },
  data() {
    return {
      content: ''
    }
  },
  methods: {
    input(content) {
      // console.log(content)
      this.content = content
    }
  }
}
</script>

<style scoped>

</style>
